package edu.mbb.netty.client;

import java.lang.reflect.Proxy;

public class NettyRpcSericeFactory {

	public <T> T getRpcService(Class clzz) {
		return (T) Proxy.newProxyInstance(clzz.getClassLoader(), new Class[] { clzz }, new RpcServiceProxy());
	}
}
